package com.wolf.service;

import com.wolf.pojo.Wl_commodity_inventory_record;

import java.util.List;

public interface Wl_commodity_inventory_recordService {
    int deleteByPrimaryKey(String id);

    int insert(Wl_commodity_inventory_record record);

    int insertSelective(Wl_commodity_inventory_record record);

    Wl_commodity_inventory_record selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Wl_commodity_inventory_record record);

    int updateByPrimaryKey(Wl_commodity_inventory_record record);

    /**
     * 查询所有
     * @return
     */
    List<Wl_commodity_inventory_record> getAll();

    /**
     * 模糊查询
     * @param commodityname
     * @param property
     * @param istatus
     * @param rstatus
     * @param month
     * @return
     */
    List<Wl_commodity_inventory_record> getSelective(String commodityname, String property, Integer istatus, Integer rstatus, Integer month);



}